package com.yl.project.lvyou.likes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yl.framework.aspectj.lang.annotation.Excel;
import javax.persistence.*;
import com.yl.framework.web.domain.BaseEntity;

/**
 * 评论点赞对象 scenic_comment_likes
 * 
 * @author yl
 * @date 2025-03-14
 */
@Table(name="scenic_comment_likes")
public class ScenicCommentLikes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 点赞ID */
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    /** 评论ID */
    @Excel(name = "评论ID")

    @Column(name = "comment_id")
    private Long commentId;

    private String isLiked;
    /** 用户ID */
    @Excel(name = "用户ID")

    @Column(name = "user_id")
    private Long userId;



    private Long likeCount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommentId(Long commentId) 
    {
        this.commentId = commentId;
    }

    public Long getCommentId() 
    {
        return commentId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public String getIsLiked() {
        return isLiked;
    }

    public void setIsLiked(String isLiked) {
        this.isLiked = isLiked;
    }

    public Long getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Long likeCount) {
        this.likeCount = likeCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commentId", getCommentId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("isLiked", getIsLiked())
            .toString();
    }
}
